package main

import (
	"fmt"
	"go_code/chapter02/demo03/model"
)

func main(){

	var i int = 10
	fmt.Println("i的地址为:",&i)

	var ptr *int = &i
	fmt.Printf("ptr=%v\n", ptr)

	fmt.Printf("ptr 指向的值=%v\n", *ptr)

	fmt.Printf("HeroName=%v\n",model.HeroName)

	fmt.Println(10 / 4)
	
	var n1 float32 = 10 / 4
	fmt.Println(n1)

	var n2 float32 = 10.0 / 4
	fmt.Println(n2)
}